
public class Person {
    // 第二次sub测试
    private String string = "gao";

    {
        System.out.println("匿名代码块");
    }
    static {
        System.out.println("静态代码块");
    }

    public Person() {

    }

    public Person(String string) {
        this.string = string;
        System.out.println("构造函数");
    }


}
